package com.t.bricks.bussiness.db.entity.student.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 学员信息'Student'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 * @author HuangXinBian
 * @DateTime 2021年12月13日 16:12:15
 */
@ApiModel("学员信息Student")
@DataInfo(sDbName="BricksAppraise", sTableName="Student")
public class StudentBase implements Serializable {

	private static final long serialVersionUID = 1L;// 使用rmi时需修改

	/**
	 * 编号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sId", sComment="编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="编号", example="")
	//[end]
	protected String sId;

	/**
	 * 姓名
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sName", sComment="姓名", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="姓名", example="")
	//[end]
	protected String sName;

	/**
	 * 学号(联合唯一)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sNo", sComment="学号(联合唯一)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=30, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="学号(联合唯一)", example="")
	//[end]
	protected String sNo;

	/**
	 * 电话
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sPhone", sComment="电话", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=30, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="电话", example="")
	//[end]
	protected String sPhone;

	/**
	 * 微信
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sWechat", sComment="微信", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="微信", example="")
	//[end]
	protected String sWechat;

	/**
	 * 邮件
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sMail", sComment="邮件", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="邮件", example="")
	//[end]
	protected String sMail;

	/**
	 * 性别(枚举,1:男,0:女)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="iSex", sComment="性别(枚举,1:男,0:女)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="性别(枚举,1:男,0:女)", example="1")
	//[end]
	protected Integer iSex;

	/**
	 * 出生时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="dBirthday", sComment="出生时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=7 )
	@ApiModelProperty(value="出生时间", example="")
	//[end]
	protected Date dBirthday;

	/**
	 * 年级
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sGrade", sComment="年级", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=20, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="年级", example="")
	//[end]
	protected String sGrade;

	/**
	 * 班级
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sClass", sComment="班级", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=20, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=9 )
	@ApiModelProperty(value="班级", example="")
	//[end]
	protected String sClass;

	/**
	 * 专业
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sMajor", sComment="专业", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=30, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=10 )
	@ApiModelProperty(value="专业", example="")
	//[end]
	protected String sMajor;

	/**
	 * 身份证号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sCardID", sComment="身份证号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=20, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=11 )
	@ApiModelProperty(value="身份证号", example="")
	//[end]
	protected String sCardID;

	/**
	 * 有效开始时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="dFromTime", sComment="有效开始时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=12 )
	@ApiModelProperty(value="有效开始时间", example="")
	//[end]
	protected Date dFromTime;

	/**
	 * 失效时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="dEndTime", sComment="失效时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=13 )
	@ApiModelProperty(value="失效时间", example="")
	//[end]
	protected Date dEndTime;

	/**
	 * 学员类型(枚举,1:普通;2:会员;3:VIP)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="iType", sComment="学员类型(枚举,1:普通;2:会员;3:VIP)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=2, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=14 )
	@ApiModelProperty(value="学员类型(枚举,1:普通;2:会员;3:VIP)", example="1")
	//[end]
	protected Integer iType;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=15 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建人员
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sCreator", sComment="创建人员", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000000", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=16 )
	@ApiModelProperty(value="创建人员", example="00000000")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=17 )
	@ApiModelProperty(value="创建时间", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人员
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="sModifieder", sComment="修改人员", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000000", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=18 )
	@ApiModelProperty(value="修改人员", example="00000000")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=19 )
	@ApiModelProperty(value="修改时间", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态(枚举,1:使用,2:禁用)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="iState", sComment="状态(枚举,1:使用,2:禁用)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=20 )
	@ApiModelProperty(value="状态(枚举,1:使用,2:禁用)", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=21 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Student",
		sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=22 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 姓名
	 * @return String
	 */
	public String getsName() {
		return sName;
	}

	/**
	 * 设置姓名
	 * @param sName
	 */
	public void setsName(String sName) {
		this.sName = sName;
	}

	/**
	 * 取 学号(联合唯一)
	 * @return String
	 */
	public String getsNo() {
		return sNo;
	}

	/**
	 * 设置学号(联合唯一)
	 * @param sNo
	 */
	public void setsNo(String sNo) {
		this.sNo = sNo;
	}

	/**
	 * 取 电话
	 * @return String
	 */
	public String getsPhone() {
		return sPhone;
	}

	/**
	 * 设置电话
	 * @param sPhone
	 */
	public void setsPhone(String sPhone) {
		this.sPhone = sPhone;
	}

	/**
	 * 取 微信
	 * @return String
	 */
	public String getsWechat() {
		return sWechat;
	}

	/**
	 * 设置微信
	 * @param sWechat
	 */
	public void setsWechat(String sWechat) {
		this.sWechat = sWechat;
	}

	/**
	 * 取 邮件
	 * @return String
	 */
	public String getsMail() {
		return sMail;
	}

	/**
	 * 设置邮件
	 * @param sMail
	 */
	public void setsMail(String sMail) {
		this.sMail = sMail;
	}

	/**
	 * 取 性别(枚举,1:男,0:女)
	 * @return Integer
	 */
	public Integer getiSex() {
		return iSex;
	}

	/**
	 * 设置性别(枚举,1:男,0:女)
	 * @param iSex
	 */
	public void setiSex(Integer iSex) {
		this.iSex = iSex;
	}

	/**
	 * 取 出生时间
	 * @return Date
	 */
	public Date getdBirthday() {
		return dBirthday;
	}

	/**
	 * 设置出生时间
	 * @param dBirthday
	 */
	public void setdBirthday(Date dBirthday) {
		this.dBirthday = dBirthday;
	}

	/**
	 * 取 年级
	 * @return String
	 */
	public String getsGrade() {
		return sGrade;
	}

	/**
	 * 设置年级
	 * @param sGrade
	 */
	public void setsGrade(String sGrade) {
		this.sGrade = sGrade;
	}

	/**
	 * 取 班级
	 * @return String
	 */
	public String getsClass() {
		return sClass;
	}

	/**
	 * 设置班级
	 * @param sClass
	 */
	public void setsClass(String sClass) {
		this.sClass = sClass;
	}

	/**
	 * 取 专业
	 * @return String
	 */
	public String getsMajor() {
		return sMajor;
	}

	/**
	 * 设置专业
	 * @param sMajor
	 */
	public void setsMajor(String sMajor) {
		this.sMajor = sMajor;
	}

	/**
	 * 取 身份证号
	 * @return String
	 */
	public String getsCardID() {
		return sCardID;
	}

	/**
	 * 设置身份证号
	 * @param sCardID
	 */
	public void setsCardID(String sCardID) {
		this.sCardID = sCardID;
	}

	/**
	 * 取 有效开始时间
	 * @return Date
	 */
	public Date getdFromTime() {
		return dFromTime;
	}

	/**
	 * 设置有效开始时间
	 * @param dFromTime
	 */
	public void setdFromTime(Date dFromTime) {
		this.dFromTime = dFromTime;
	}

	/**
	 * 取 失效时间
	 * @return Date
	 */
	public Date getdEndTime() {
		return dEndTime;
	}

	/**
	 * 设置失效时间
	 * @param dEndTime
	 */
	public void setdEndTime(Date dEndTime) {
		this.dEndTime = dEndTime;
	}

	/**
	 * 取 学员类型(枚举,1:普通;2:会员;3:VIP)
	 * @return Integer
	 */
	public Integer getiType() {
		return iType;
	}

	/**
	 * 设置学员类型(枚举,1:普通;2:会员;3:VIP)
	 * @param iType
	 */
	public void setiType(Integer iType) {
		this.iType = iType;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建人员
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建人员
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人员
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人员
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态(枚举,1:使用,2:禁用)
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态(枚举,1:使用,2:禁用)
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
